package com.go.where.family.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.go.where.family.dao.AccountRelationDao;
import com.go.where.family.pojo.AccountRelationInfo;

@Repository("accountRelationDao")
public class AccountRelationDaoImpl extends
		BaseDaoImpl<AccountRelationInfo, String> implements AccountRelationDao {

	@Override
	public String getNameSpace() {
		return "mybatis.xml.AccountRelationMapper";
	}

	@Override
	public List<AccountRelationInfo> queryAccRelaByParameter(
			AccountRelationInfo accountRelationInfo) {
		return getSqlSession().selectList(getNameSpace() + ".queryByParameter",
				accountRelationInfo);
	}

}
